package gat.domain.service.backgroundUser.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;

import gat.convertor.backgroundUser.BackgroundUserReqDtoConvertor;
import gat.convertor.backgroundUser.BackgroundUserResDtoConvertor;
import gat.domain.service.backgroundUser.BackgroundUserDomainService;
import gat.infrastructure.persistence.dao.backgroundUser.BackgroundUserMapper;
import gat.infrastructure.persistence.po.backgroundUser.BackgroundUserPo;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("backgroundUserDomainService")
public class BackgroundUserDomainServiceImpl implements BackgroundUserDomainService {

    @Autowired
    private BackgroundUserReqDtoConvertor backgroundUserReqDtoConvertor;

    @Autowired
    private BackgroundUserResDtoConvertor backgroundUserResDtoConvertor;

    private IPService<BackgroundUserPo> backgroundUserPoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public BackgroundUserDomainServiceImpl(BackgroundUserMapper backgroundUserMapper) {
        this.backgroundUserPoService = new BasePService(backgroundUserMapper);
    }
}